import { Controller } from "egg";


export default class LuckyController extends Controller {

  async list() {
    const { query } = this.ctx.validateReq('lucky.list')
    const data = await this.service.lucky.list(query.page, query.pageSize)
    this.ctx.success({
      data
    })
  }
}